import request, {Method} from '@/utils/request'

// 修改密码
export function editPwd (params) {
  return request({
    url: `/api/v1/front/profile/modifyPassword`,
    method: Method.PUT,
    needToken: true,
    params: params
  })
}

export const editMemberInfo = (params) => {
  return request({
    url: `/api/v1/front/profile/modifyMemberInfo`,
    method: Method.PUT,
    needToken: true,
    data: params
  })
}


